#ifndef __ALPHABLEND_H__
#define __ALPHABLEND_H__

extern BOOL DoAlphaBlend(
	HDC	hdcDest,
	int nXOriginDest,
	int nYOriginDest,
	int nWidthDest,
	int nHeightDest,
	HDC hdcSrc,
	int nXOriginSrc,
	int nYOriginSrc,
	int nWidthSrc,
	int nHeightSrc,
	DWORD dwSourceWeight
);

extern void CreateGradient(
	COLORREF	clrLight	/* = RGB(255,255,255) */,
	COLORREF	clrDark		/* = RGB(  0,  0,  0) */
);


extern HBITMAP FadeBitmap(
	   HBITMAP		hBmp,
	   double		dfTrans,
	   HDC			hBmpDC
);

extern HBITMAP CopyScreenToBitmap(LPRECT lpRect);


#endif __ALPHABLEND_H__